package com.itheima.text1;

public class Text1 {
    public static void main(String[] args) {
        Outer1.Inter1 oi = new Outer1().new Inter1();
        System.out.println(oi.a);
        oi.show();
    }
}

class Outer1 {
    private int num = 7;

    class Inter1 {
        int a = 10;

        public void show() {
            System.out.println("内部类的show方法");
            System.out.println(num);
        }
    }
}
